#ifndef __UART_INIT_H__
#define __UART_INIT_H__
#define serial_device "/dev/ttyS0" 
void test(void);
void set_speed_and_parity(int fd, int speed);
int serialport();
int open_port(void);  
int serial_write(int fd ,char *data, int datalen);
int serial_read(int fd,char buff[],int datalen);

int uartdate_send(int fd,unsigned char *data);


#endif